package com.dawn.module.hospital.controller.app.outpatient.vo;

import com.dawn.module.hospital.controller.app.base.vo.ReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/7 22:03
 */
@Schema(description = "门诊缴费扫码付-创建订单 APP - Request VO")
@Data
@ToString(callSuper = true)
public class OutpatientCreateOrderQRReqVO extends ReqVO {

    @NotBlank(message = "用户标识userId不能为空")
    @Schema(description = "userId")
    private String userId;

    @NotBlank(message = "openid不能为空")
    @Schema(description = "openid")
    private String openid;

    //    @NotEmpty(message = "本地档案ID不能为空")
    @Schema(description = "本地档案ID")
    private Long pId;

    @NotBlank(message = "证件号码不能为空")
    @Schema(description = "证件号码")
    private String cardNo;

    @NotBlank(message = "挂号单不能为空")
    @Schema(description = "挂号单")
    private String registerNo;

    @Schema(description = "单据号串")
    @NotBlank(message = "单据号串不能为空")
    private String receiptNoStr;

    @NotBlank(message = "订单金额不能为空")
    @Schema(description = "订单金额")
    private String totalCost;

    @Schema(description = "门诊号")
    private String clinicNo;

    @Schema(description = "订单类型")
    private String orderType;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "支付方式")
    private String payType;

    @NotBlank(message = "应用类型不能为空")
    @Schema(description = "应用类型",example="WX")
    private String appType;

    @Schema(description = "支付场景")
    private String payScene;


    @Schema(description = "费用类别")
    private String feeType;

    @Schema(description = "费用项目ID")
    private String feeId;


    @Schema(description = "费用项目")
    private String feeItem;

}
